﻿using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    public partial class TUpriverReceivingBillsDetails
    {
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>      
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int BillId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string BillNo { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary> 
        [SugarColumn(IsNullable = true)]//可以为NULL
        public int? MaterialId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string MaterialCode { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string MaterialName { get; set; }

        /// <summary>
        /// Desc:数量
        /// Default:
        /// Nullable:False
        /// </summary>           
        public decimal Qty { get; set; }

        /// <summary>
        /// Desc:收货数量
        /// Default:
        /// Nullable:False
        /// </summary>      
        [SugarColumn(IsNullable = true)]//可以为NULL
        public decimal ReceivedQty { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int Status { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>    
        [SugarColumn(IsNullable = true)]//可以为NULL
        public DateTime? ConfirmDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>      
        [SugarColumn(IsNullable = true)]//可以为NULL
        public string BatchNo { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>      
        [SugarColumn(IsNullable = true)]//可以为NULL
        public string deptName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:False
        /// </summary>          
        [SugarColumn(IsNullable = true)]//可以为NULL
        public int checkInfoId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>          
        [SugarColumn(IsNullable = true)]//可以为NULL
        public string materialNorms { get; set; }
    }
}
